package ooday01;

public class CarTest {
    public static void main(String[] args) {
        Car car = new Car("宝马", "蓝色", 300000.0);
        car.start();
        car.run();
        car.stop();
        System.out.println("!!!!!!!!!!!!!!!!!!!");
        Car rubCar = new Car();
        rubCar.price=114514.0;
        rubCar.color = "黄色";
        rubCar.brand = "垃圾车";
        rubCar.start();
        rubCar.run();
        rubCar.stop();
    }
}
